package com.czy.owner.entity;

import java.io.Serializable;

/**
 * Created by King on 2016/6/13 0013.
 */
public class CarBrandModel implements Serializable {
    private long carBrandId;
    private String chName;
    private long createTime;
    private long createUserId;
    private String enName;
    private String firstLetter;
    private String imageSrc;
    private String note;
    private String status;
    private int subCounts;
    private long superCarBrandId;
    private String superCarBrandName;
    public CarBrandModel(){

    }
    public CarBrandModel(CarBrandSubsModel carBrandSubsModel) {
        this.carBrandId = carBrandSubsModel.getCarBrandId();
        this.chName = carBrandSubsModel.getChName();
        this.createTime = carBrandSubsModel.getCreateTime();
        this.createUserId = carBrandSubsModel.getCreateUserId();
        this.enName = carBrandSubsModel.getEnName();
        this.firstLetter = carBrandSubsModel.getFirstLetter();
        this.imageSrc = carBrandSubsModel.getImageSrc();
        this.note = carBrandSubsModel.getNote();
        this.status = carBrandSubsModel.getStatus();
        this.superCarBrandId = carBrandSubsModel.getSuperCarBrandId();
        this.superCarBrandName = carBrandSubsModel.getSuperCarBrandName();
    }

    public long getCarBrandId() {
        return carBrandId;
    }

    public void setCarBrandId(long carBrandId) {
        this.carBrandId = carBrandId;
    }

    public String getChName() {
        return chName;
    }

    public void setChName(String chName) {
        this.chName = chName;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(long createUserId) {
        this.createUserId = createUserId;
    }

    public String getEnName() {
        return enName;
    }

    public void setEnName(String enName) {
        this.enName = enName;
    }

    public String getFirstLetter() {
        return firstLetter;
    }

    public void setFirstLetter(String firstLetter) {
        this.firstLetter = firstLetter;
    }

    public String getImageSrc() {
        return imageSrc;
    }

    public void setImageSrc(String imageSrc) {
        this.imageSrc = imageSrc;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getSubCounts() {
        return subCounts;
    }

    public void setSubCounts(int subCounts) {
        this.subCounts = subCounts;
    }

    public long getSuperCarBrandId() {
        return superCarBrandId;
    }

    public void setSuperCarBrandId(long superCarBrandId) {
        this.superCarBrandId = superCarBrandId;
    }

    public String getSuperCarBrandName() {
        return superCarBrandName;
    }

    public void setSuperCarBrandName(String superCarBrandName) {
        this.superCarBrandName = superCarBrandName;
    }

    @Override
    public String toString() {
        return "CarBrandModel{" +
                "carBrandId=" + carBrandId +
                ", chName='" + chName + '\'' +
                ", createTime=" + createTime +
                ", createUserId=" + createUserId +
                ", enName='" + enName + '\'' +
                ", firstLetter='" + firstLetter + '\'' +
                ", imageSrc='" + imageSrc + '\'' +
                ", note='" + note + '\'' +
                ", status='" + status + '\'' +
                ", subCounts=" + subCounts +
                ", superCarBrandId='" + superCarBrandId + '\'' +
                ", superCarBrandName='" + superCarBrandName + '\'' +
                '}';
    }
}
